import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/data-people",
    name: "dataPeopleTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "department",
        name: "department",
        component: () =>
          import(
            /* webpackChunkName: "department" */ "@/views/dataPeople/Department.vue"
          ),
        meta: {
          title: "部门管理",
        },
      },
      {
        path: "work-type",
        name: "workType",
        component: () =>
          import(
            /* webpackChunkName: "workType" */ "@/views/dataPeople/WorkType.vue"
          ),
        meta: {
          title: "工种管理",
        },
      },
      {
        path: "internal-staff",
        name: "internalStaff",
        component: () =>
          import(
            /* webpackChunkName: "internalStaff" */ "@/views/dataPeople/Staff.vue"
          ),
        meta: {
          title: "内部员工管理",
        },
      },
      {
        path: "external-staff",
        name: "externalStaff",
        component: () =>
          import(
            /* webpackChunkName: "externalStaff" */ "@/views/dataPeople/ExternalStaff.vue"
          ),
        meta: {
          title: "外部员工",
        },
      },
      {
        path: "contract-team",
        name: "contractTeam",
        component: () =>
          import(
            /* webpackChunkName: "contractTeam" */ "@/views/dataPeople/ContractTeam.vue"
          ),
        meta: {
          title: "承包队",
        },
      },
    ],
  },
  {
    path: "/data-space",
    name: "dataSpaceTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "organization-setup",
        name: "organizationSetup",
        component: () =>
          import(
            /* webpackChunkName: "organizationSetup" */ "@/views/dataSpace/Company.vue"
          ),
        meta: {
          title: "组织设置",
        },
      },
      {
        path: "plant-maintenance",
        name: "plantMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "plantMaintenance" */ "@/views/dataSpace/Factory.vue"
          ),
        meta: {
          title: "工厂维护",
        },
      },
      {
        path: "station-category",
        name: "stationCategory",
        component: () =>
          import(
            /* webpackChunkName: "stationCategory" */ "@/views/dataSpace/BasicCategoryStation.vue"
          ),
        meta: {
          title: "工位类别",
        },
      },
      {
        path: "station",
        name: "station",
        component: () =>
          import(
            /* webpackChunkName: "station" */ "@/views/dataSpace/Station.vue"
          ),
        meta: {
          title: "工位",
        },
      },
      {
        path: "workshop",
        name: "workshop",
        component: () =>
          import(
            /* webpackChunkName: "workshop" */ "@/views/dataSpace/Workshop.vue"
          ),
        meta: {
          title: "车间",
        },
      },
      {
        path: "production-line",
        name: "productionTine",
        component: () =>
          import(
            /* webpackChunkName: "productionTine" */ "@/views/dataSpace/ProductionLine.vue"
          ),
        meta: {
          title: "生产线",
        },
      },
      {
        path: "warehouse-category",
        name: "warehouseCategory",
        component: () =>
          import(
            /* webpackChunkName: "warehouseCategory" */ "@/views/dataSpace/BasicCategoryWarehouse.vue"
          ),
        meta: {
          title: "仓库类别",
        },
      },
      {
        path: "warehouse",
        name: "warehouse",
        component: () =>
          import(
            /* webpackChunkName: "warehouse" */ "@/views/dataSpace/Warehouse.vue"
          ),
        meta: {
          title: "仓库",
        },
      },
      {
        path: "warehouse-location-maintenance",
        name: "warehouseLocationMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "warehouseLocationMaintenance" */ "@/views/dataSpace/WarehouseLocationMaintenance.vue"
          ),
        meta: {
          title: "仓库库位",
        },
      },
      {
        path: "sensor-maintenance",
        name: "sensorMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "sensorMaintenance" */ "@/views/dataSpace/SensorMaintenance.vue"
          ),
        meta: {
          title: "传感器维护",
        },
      },
    ],
  },
  {
    path: "/data-material",
    name: "dataMaterialTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "category-of-purchased-materials",
        name: "categoryOfPurchasedMaterials",
        component: () =>
          import(
            /* webpackChunkName: "categoryOfPurchasedMaterials" */ "@/views/dataMaterial/BasicCategoryMaterial.vue"
          ),
        meta: {
          title: "外购物料类别",
        },
      },
      {
        path: "steel-products",
        name: "steelProducts",
        component: () =>
          import(
            /* webpackChunkName: "steelProducts" */ "@/views/dataMaterial/MaterialSteelProducts.vue"
          ),
        meta: {
          title: "钢材",
        },
      },
      {
        path: "concrete-raw-materials",
        name: "concreteRawMaterials",
        component: () =>
          import(
            /* webpackChunkName: "concreteRawMaterials" */ "@/views/dataMaterial/MaterialConcrete.vue"
          ),
        meta: {
          title: "混凝土原材料",
        },
      },
      {
        path: "spare-parts",
        name: "spareParts",
        component: () =>
          import(
            /* webpackChunkName: "spareParts" */ "@/views/dataMaterial/MaterialSpareParts.vue"
          ),
        meta: {
          title: "零配件",
        },
      },
      {
        path: "auxiliary-materials",
        name: "auxiliaryMaterials",
        component: () =>
          import(
            /* webpackChunkName: "auxiliaryMaterials" */ "@/views/dataMaterial/MaterialAuxiliary.vue"
          ),
        meta: {
          title: "辅料辅材",
        },
      },
      {
        path: "mould-category",
        name: "mouldCategory",
        component: () =>
          import(
            /* webpackChunkName: "mouldCategory" */ "@/views/dataMaterial/BasicCategoryMould.vue"
          ),
        meta: {
          title: "模具类别",
        },
      },
      {
        path: "mould",
        name: "mould",
        component: () =>
          import(
            /* webpackChunkName: "mould" */ "@/views/dataMaterial/Mould.vue"
          ),
        meta: {
          title: "模具",
        },
      },
    ],
  },
  {
    path: "/data-configure",
    name: "dataConfigureTemplate",
    component: BaseTemplate,
    children: [],
  },
];
